<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>爱贝搜索 - 手机版</title>
<link href="template/images/mobile.css" rel="stylesheet" media="screen" type="text/css" />
</head>

<body>
<div class="wrapper">
	<div id="header">
        <div class="menu">
            <div class="menu_l">
            	<a href="."><img src="template/images/m-logo.gif" border="0" /></a>
            </div>
            <div class="menu_r opened" id="menu_r">
            	<a href=".">首页</a>
            	<a href="http://www.i-bei.com/">门户</a>
				<a href="http://www.i-bei.com/baby/forum.php">社区</a>
            </div>
            <div id="nav-toggle" onclick="c()"></div>
        </div>
    </div>
    <script type="text/javascript">
    	function $(o){
    		return document.getElementById(o);
    	}
    	function c(){
    		if($('menu_r').style.display!='block'){
    			$('menu_r').style.display="block";
    		}else{
    			$('menu_r').style.display="none";
    		}
    	}
    </script>
	<div id="content">
		<div class="mod">
			<h2> <?php echo $keyword; ?> - 搜索结果</h2>
			<ul class="article-list">
            	<?php
					for($i=0;$i<count($search_result);$i++){
				?>
				<li><a href="<?php echo $search_result[$i]['url'];?>" target="_blank"><?php echo $search_result[$i]['title']; ?></a></li>
                <?php
					}
				?>
			</ul>
            <div class="page">
            	<ul>
					<?php echo $page; ?>
                </ul>
			</div>
		</div>
	</div>
    <div id="footer">
        <a href=".">搜索首页</a>
        <a href="?web">电脑版</a>
    </div>
</div>
</body>
</html>